package org.goldonframework.platform.dao;

import java.io.Serializable;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;

public interface IBaseDao<T> {

	public void save(T t);

	public void update(T t);

	public T findObjectById(Serializable id);

	public void deleteObjectByIds(Serializable... ids);

	public void deleteObjectByCollection(Collection<T> collection);

	public List<T> findCollectionByConditionNoPage(String hqlWhere, Object[] params, LinkedHashMap<String, String> orderBy);

}
